<style>
    .left {
        text-align: left;
    }

    .nowrap {
        white-space: nowrap;
    }
</style>
<section id="content">
    <section class="vbox">
        <section class="scrollable padder">
            <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
                <li><a href="{:url('Home/index')}"><i class="fa fa-home"></i> 首页</a></li>
                <li><a href="#">访问记录</a></li>
            </ul>
            <section class="panel panel-default">
                <div class="table-responsive">
                    <table class="table" data-ride="datatables" style="text-align:center!important;" cellpadding="10">
                        <tr>
                            <!-- <th style="text-align:center!important;">用户</th> -->
                            <th style="text-align:center!important;">访问时间</th>
                            <th style="text-align:center!important;">模块</th>
                            <th style="text-align:center!important;">IP地址</th>
                            <th style="text-align:left!important;">方法</th>
                            <th style="text-align:left!important;">路径</th>
                            <th style="text-align:left!important;">请求数据</th>
                        </tr>
                        {volist name="list" id="v"}
                        <tr>
                            <!-- <td class="nowrap">{$v.user_id}</td> -->
                            <td class="nowrap">{$v.create_time}</td>
                            <td class="nowrap">{$v.module}</td>
                            <td class="nowrap">{$v.ip}</td>
                            <td class="left">{$v.action}</td>
                            <td class="left">{$v.pathinfo}</td>
                            <td class="left">{$v.request_param}</td>
                        </tr>
                        {/volist}
                    </table>
                </div>
                <table border="0" style="width: 100%; height: 20px">
                    <tbody>
                        <tr>
                            <td style="width: 2px; height: 31px"></td>
                            <td style="width: 500px; height: 31px">
                                <span id="pager" style="font-family:宋体;font-size:12px;">
                                    <table border="0" style="font-family:宋体;font-size:12px;">
                                        <tbody>
                                            <tr>
                                                <td align="right">
                                                    <span>
                                                        共<font color="Red">{$count}</font>条记录&nbsp;&nbsp;当前<font
                                                            color="Red">{$page}</font>/<font color="Red">{$allpage}
                                                        </font>页
                                                    </span>
                                                    &nbsp;[<a id="pager_First"
                                                        href="{:url('MyLog/list',array('page'=>1))}" title="首页">首页</a>]
                                                    &nbsp;[<a id="pager_Prev"
                                                        href="{:url('MyLog/list',array('page'=>$page-1))}"
                                                        title="前页">前页</a>]
                                                    &nbsp;[<a id="pager_Next" title="后页"
                                                        href="{:url('MyLog/list',array('page'=>$page+1))}">后页</a>]
                                                    &nbsp;[<a id="pager_Last" title="尾页"
                                                        href="{:url('MyLog/list',array('page'=>$allpage))}">尾页</a>]
                                                    &nbsp;转到
                                                    <form action="{:url('MyLog/list')}" method="post"
                                                        style="display: inline">
                                                        <input name="page" type="text" value="{$page}"
                                                            id="pager_txbPage" style="width:30px;">
                                                        <input type="submit" name="pager$btnGo" value="转到"
                                                            id="pager_btnGo">
                                                    </form>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </span>
                            </td>
                            <td style="width: 100px; height: 31px"></td>
                        </tr>
                    </tbody>
                </table>
            </section>
        </section>
    </section>
</section>